package com.kgc.collection.remote;

import com.kgc.basic.util.ResponseMsg;
import com.kgc.collection.pojo.SalesReceivable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

public interface SalesReceivableRemote {

    @RequestMapping("/selectSalesReceivableByPage")
    @ResponseBody
    ResponseMsg selectSalesReceivableByPage(@RequestBody Map<String, Object> map);

    @RequestMapping("/insertSalesReceivable")
    @ResponseBody
    ResponseMsg insertSalesReceivable(@RequestBody SalesReceivable salesReceivable);

    @RequestMapping("/updateSalesReceivable")
    @ResponseBody
    ResponseMsg updateSalesReceivable(@RequestBody SalesReceivable salesReceivable);

    @RequestMapping("/deleteSalesReceivable")
    @ResponseBody
    ResponseMsg deleteSalesReceivable(@RequestBody Map<String, Object> map);

}
